package com.app.micaihu.configure;

import com.app.micaihu.R;

import java.util.ArrayList;
import java.util.List;

public class Config {

    public static boolean addGold = false;

    public static int delayRefresh = 800;
    public static int delayLoadMore = 500;
    public static String fileProvider = "com.app.micaihu.fileprovider";

    public static class Extra {
        public static String id = "id";
        public static String news = "news";
        public static String phone = "phone";
        public static String phoneState = "phoneState";
        public static String writeStorage = "writeStorage";
        public static String isMarketAd = "isMarketAd";
        public static String indexType = "indexType";
        public static String type = "type";
        public static String name = "name";
        public static String url = "url";
        public static String title = "title";
        public static String showSkip = "showSkip";
        public static String game = "game";
        public static String answer = "answer";
        public static String showDel = "showDel";
        public static String showModal = "showModal";
        public static String showInviteMicaihu = "showInviteMicaihu";
        public static String joinDays = "joinDays";
        public static String gold = "gold";
        public static String desc = "desc";
        public static String share = "share";
        public static String path = "path";
        public static String max = "max";
        public static String list = "list";
        public static String level = "level";
        public static String toUid = "toUid";
        public static String eventValue = "eventValue";
        public static String item = "item";
        public static String progress = "progress";
//        public static String articleid = "articleid";


        public final static String PARAMETER1 = "parameter1";//通用的参数1
        public final static String PARAMETER2 = "parameter2";//通用的参数1
    }

    public static class ResultCode {
        //通用的识别码
        public final static int REQUESTCODE_1 = 1;//通用的请求码
        public static final int resultCodePhoto = 101;
        public static final int resultCodeCorp = 102;
    }

    public static class ChannelType {
        public static String isNews = "isNews"; //新闻
        public static String isGame = "isGame";//游戏
        public static String isVideoGame = "isVideoGame"; //知识
        public static String isQuestion = "isQuestion"; //问答
        public static String isVideo = "isVideo";//视频
        public static String isExclusives = "isExclusives";//原创
        public static String isFocusNews = "isFocusNews";//要闻
    }

    public static class MenuType {
        public static String isH5 = "isH5";
        public static String isOriginal = "isOriginal";// 战术望远镜
    }

    /**
     * 埋点
     */
    public static class EventBauduId {
        public static final String post_click = "post_click";//帖子点击
        public static final String post_comment = "post_comment";//帖子评论
        public static final String post_success = "post_success";//帖子评论成功
        public static final String login_weixin = "login_weixin";//微信登录
        public static final String login_qq = "login_qq";//qq登录
        public static final String login_sina = "login_sina";//新浪登录
        public static final String game_exposed = "game_exposed";//游戏
        public static final String game_076 = "076";//游戏
        public static final String game_065 = "065";//游戏

        public static final String knowledgelist_exposure = "knowledgelist_exposure";
        public static final String knowledgelist_click = "knowledgelist_click";
        public static final String knowledgelist_gameexposure = "knowledgelist_gameexposure";
        public static final String knowledgelist_gameclick = "knowledgelist_gameclick";
        public static final String knowledgelist_userclick = "knowledgelist_userclick";
        public static final String knowledgecontent_gameclick = "knowledgecontent_gameclick";
        public static final String knowledgecontent_videoclick = "knowledgecontent_videoclick";
        public static final String knowledgecontent_morevclick = "knowledgecontent_morevclick";


        public static final String answerlist_exposure = "answerlist_exposure";
        public static final String answerlist_click = "answerlist_click";
        public static final String answercontent_review = "answercontent_review";
        public static final String answercontent_publish = "answercontent_publish";
        public static final String answercontent_publishsucces = "answercontent_publishsucces";


        public static final String topictop_topic = "topictop_topic";
        public static final String topictop_team = "topictop_team";
        public static final String topictop_attention = "topictop_attention";
        public static final String teamlistapply_exposure = "teamlistapply_exposure";
        public static final String teamlistapply_click = "teamlistapply_click";
        public static final String teamapply_button = "teamapply_button";
        public static final String teamlist_sign = "teamlist_sign";
        public static final String teamlist_exposure = "teamlist_exposure";
        public static final String teamlist_click = "teamlist_click";
        public static final String teamlist_attention = "teamlist_attention";
        public static final String teamlist_comment = "teamlist_comment";
        public static final String teamlist_like = "teamlist_like";
        public static final String teamcomment_click = "teamcomment_click";
        public static final String teamdetail_likemen = "teamdetail_likemen";
        public static final String teamcomment_longpress = "teamcomment_longpress";
        public static final String teamlongpress_comment = "teamlongpress_comment";
        public static final String teamlongpress_copy = "teamlongpress_copy";
        public static final String teamlongpress_report = "teamlongpress_report";
        public static final String teamdetail_input = "teamdetail_input";
        public static final String teamdetail_face = "teamdetail_face";
        public static final String teamdetail_inputsucces = "teamdetail_inputsucces";
        public static final String team_post = "team_post";
        public static final String square_post = "square_post";
    }

    /**
     *
     */
    public static class EventBus {
        public static final String loginSuccess = "loginSuccess";// 登录成功
        public static final String logOutSuccess = "logOutSuccess";// 注销成功
        public static final String taskSuccess = "taskSuccess";// 请求任务接口成功
        public static final String joinArmySuccess = "joinArmySuccess";// 加入军团
        public static final String signOutArmySuccess = "signOutArmySuccess";// 退出军团
        public static final String delArmyMemberSuccess = "delArmyMemberSuccess";// 删除军团成员
        public static final String flushMsgRed = "flushMsgRed";// 刷新消息
        public static final String questionSuccess = "questionSuccess";// 发布问题
        public static final String armyTopicSuccess = "armyTopicSuccess";// 军团发帖
        public static final String questionDel = "questionDel";// 删除问答
        public static final String goHome = "goHome";// 军团任务
        public static final String goArmy = "goArmy";//首页切换至军团
        public static final String armyAppointSuccess = "armyAppointSuccess";// 军团官职任命成功
        public static final String armyCreateSuccess = "armyCreateSuccess";// 军团创建成功
        public static final String armyEditNoticeSuccess = "armyEditNoticeSuccess";// 军团编辑公告成功
        public static final String armyUpgradeSuccess = "armyUpgradeSuccess";// 军团升级成功
        public static final String gameDownLoad = "gameDownLoad";// 军团升级成功
        public static final String gameLikeDownLoad = "gameLikeDownLoad";// 军团升级成功
        public static final String delWebViewAd = "delWebViewAd";//广告 点击x
        public static final String delDetailBottomAd = "delDetailBottomAd";//广告 点击x
    }

    public static class AssetsPath {
        public static final String digital = "font/Digital.ttf";
    }


    public static List<String> militaryList;
    public static List<Integer> militaryIconList;

    static {
        militaryList = new ArrayList<>();
        militaryList.add("陆军");
        militaryList.add("海军");
        militaryList.add("空军");
        militaryList.add("火箭军");
        militaryList.add("战略支援");
        militaryList.add("武警");

        militaryIconList = new ArrayList<>();
        militaryIconList.add(R.mipmap.military_1);
        militaryIconList.add(R.mipmap.military_2);
        militaryIconList.add(R.mipmap.military_3);
        militaryIconList.add(R.mipmap.military_4);
        militaryIconList.add(R.mipmap.military_5);
        militaryIconList.add(R.mipmap.military_6);
    }

}
